import { IAssignRole } from '@/api/user/type'
import { ref } from 'vue'

export default function () {
  let drawerTitle = ref('添加用户')
  const addUserTitle = () => {
    drawerTitle.value = '添加用户'
  }

  const updateUserTitle = () => {
    drawerTitle.value = '修改用户'
  }

  return {
    drawerTitle,
    addUserTitle,
    updateUserTitle,
  }
}
